package com.travel.order.feign;

import com.travel.common.to.SkuHasStockVo;
import com.travel.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("travel-stock")
public interface StockFeignService {

    @PostMapping("/hasStock")
    R skuHasStock(@RequestBody SkuHasStockVo skuHasStockVo);
}
